package com.gues.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class AdminPageController {
    @RequestMapping("/admin/")
    public String home() {
        return "admin/index";
    }

    @RequestMapping("/admin/list")
    public String list() {
        return "admin/adminList";
    }

    @RequestMapping("/admin/add")
    public String add() {
        return "admin/add";
    }

    @RequestMapping("/admin/change")
    public String change() {
        return "admin/change";
    }

    @RequestMapping("/admin/time")
    public String time() {
        return "admin/time";
    }

}
